$(function(){
	$('#content .btn a').click(function(){
		var u = navigator.userAgent;
		var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
		var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
		if(isAndroid){
			$('.downLoad').attr('href','http://app.qq.com/#id=detail&appid=1104973128');
		}else if(isiOS){
			$('.downLoad').attr('href','https://itunes.apple.com/cn/app/yi-wei-shi-ge-ren-ban/id1055992804?mt=8');
		}
	})
});